package com.cn.learn.creator.enumeration;


/**
 * @ClassName ResultVOTypeEnum
 * @Description 结果集类型枚举
 * @Author JiJiang
 * @Date 2023/7/8 14:14
 * @Version 1.0
 */

public enum ResultVOTypeEnum {


    SUCCESS("操作成功", 0), FAIL("操作失败", 1);


    ResultVOTypeEnum(String msg, Integer code) {
        this.msg = msg;
        this.code = code;
    }

    private String msg;

    private Integer code;


    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }
}
